import { Commit } from 'vuex';
const state: any = {
  $category: {
    name: 'Recommended',
    value: -1,
  },
};


const mutations: any = {
  saveCategory(states: any, params: object) {
    states.$category = params;
  },
};

const actions: any = {
  saveCategoryFN(context: { commit: Commit }, params: object) {
    context.commit('saveCategory', params);
  },

};

export default {
  namespaced: true,
  state,
  mutations,
  actions,
};